SET(__TempHeaders)
SET(__TempHeaders_qt4 mirroreditem.h
mirrorview.h
MoveItem.h
mygraphicsview.h
SelfToolBar.h
)

FILE(GLOB __Sources *.cpp)

FOREACH(fileName ${__TempHeaders})
  STRING(REGEX REPLACE "(.*h$)" "${CMAKE_CURRENT_SOURCE_DIR}/\\1" pro ${fileName})
  LIST(APPEND __Headers ${pro})
ENDFOREACH(fileName)

FOREACH(fileName ${__TempHeaders_qt4})
  STRING(REGEX REPLACE "(.*h$)" "${CMAKE_CURRENT_SOURCE_DIR}/\\1" pro ${fileName})
  LIST(APPEND __Headers_qt4 ${pro})
ENDFOREACH(fileName)

#QT4_WRAP_CPP(__Sources_moc ${__Headers_qt4})
SET(SelfToolBarHeaders ${__Headers} ${__Headers_qt4} PARENT_SCOPE)
SET(SelfToolBarHeaders_qt4 ${__Headers_qt4} PARENT_SCOPE)
SET(SelfToolBarSources ${__Sources} PARENT_SCOPE)
